package com.zhanghe;

import com.zhanghe.protocol.serializer.SerializerAlgorithm;
import com.zhanghe.protocol.serializer.SerializerManager;
import com.zhanghe.protocol.v1.Packet;
import com.zhanghe.wzq.User;
import com.zhanghe.wzq.command.response.LoginResponse;

/**
 * test
 *
 * @author Clevo
 * @date 2018/12/15
 */
public class test {

    public static void main(String[] args) {
//        SerializerManager.setDefault(SerializerAlgorithm.JSON);
//        User user = new User();
//        user.setId("1");
//        System.out.println(new String( SerializerManager.getDefault().serialize(user)));
        System.out.println(LoginResponse.class.isInstance(Packet.class));
    }
}
